<template>
    <div>
        <el-container>
            <el-header style="background-color: antiquewhite; line-height: 60px;">蜗牛共享车位物业管理系统</el-header>
            <el-main>
                <el-row style="margin-top: 60px;">
                    <el-col :span="6">
                        <el-button @click="login">物业登录</el-button>
                    </el-col>
                    <el-col :span="6">
                        <el-button @click="user">用户登录</el-button>
                    </el-col>
                    <el-col :span="6">
                        <el-button @click="renters">出租客登录</el-button>
                    </el-col>
                    <el-col :span="6">
                        <el-button @click="platform">平台登录</el-button>
                    </el-col>
                </el-row>
            </el-main>
        </el-container>
    </div>
</template>

<script>
import router from '../router';

export default {
    name: "First",
    data() {
        return {

        }
    },
    methods: {
        platform(){
            this.$router.push('/platformLogin')
        },
        renters(){
            this.$router.push('/rentersLogin')
        },
        user(){
            this.$router.push('/userLogin')
        },
        login(){
            this.$router.push('/login')
        }
    },
    created() {

    }
}
</script>

<style scoped></style>